package com.rd.student.ruanjian.class4.gaoyiming;

import java.util.LinkedList;

public class LinkedListTest {
    public static void main(String[] args) {
        LinkedList list = new LinkedList();
        //添加学生信息到 list中
        //添加你所在的小组成员
        //名字 专业 班级
        //输出
        Student student1 = new Student("高艺铭","软件","4");
        Student student2 = new Student("张睿","软件","4");
        Student student3 = new Student("王星凯","软件","4");
        Student student4 = new Student("周子贺","软件","5");
        Student student5 = new Student("李春泉","软件","4");
        Student student6 = new Student("柏云耀","软件","4");
        Student student7 = new Student("杜航","软件","5");

        list.add(student1);
        list.add(student2);
        list.add(student3);
        list.add(student4);
        list.add(student5);
        list.add(student6);
        list.add(student7);

        for (int i = 0; i < list.size(); i++) {
            System.out.println(list.get(i));
        }
    }


}
